#ifndef __pass_manager__h__
#define __pass_manager__h__

#include "singleton.h"

class pass_manager : public singleton<pass_manager>
{
public:
	pass_manager();
	~pass_manager();

	void set_scene_count(int n);
	void set_current_scene(int idx);
	int get_current_scene();
	void pass_scene();
    void unlock_scene(int idx);
	void update_keep_time(float t);
	float get_keep_time();

private:
    int current_scene_index;
	int scene_count;
	float keep_time;
};
#endif